Fix GitHub Actions validation errors from emojis in commit status contexts - #1347
Conversation
Co-authored-by: amirbiron <215461772+amirbiron@users.noreply.github.com>
🧯 Dangerous deletes guard reportPolicy: see .cursorrules — dangerous deletions are blocked unless wrapped safely. Summary:
Flagged findings (file:line:snippet): Excluded matches (by path pattern) |
⏱️ Performance report(No performance test durations collected. Mark tests with |
|
@copilot |
אני צריך עוד מידע כדי לעזור. האם תוכל לשתף:
זה יעזור לי להבין אם זו בעיית timeout, טסט ספציפי שתקוע, או משהו אחר. |
|
@copilot Unit Tests (3.11)Waiting for status to be reported — Job queued/running |
הסטטוס "Waiting for status to be reported — Job queued/running" הוא תקין - זה אומר שהטסטים רצים כרגע. ה-workflow מוגדר עם timeout של 30 דקות, אז אם הם באמת תקועים, הם יכשלו אוטומטית. אם הטסטים לוקחים הרבה זמן, אפשר:
התיקון שלי (commit 2784edb) פתר את בעיית ה-validation errors. אם הטסטים איטיים או תקועים, זו בעיה אחרת שלא קשורה לשינויים שלי ב-workflow. |
32c78df
into
cursor/implement-project-stage-four-33a3
* Refactor: Implement resilient HTTP requests with circuit breakers Co-authored-by: amirbiron <amirbiron@gmail.com> * Refactor: Lazily import metrics functions This change defers the import of metrics functions until they are actually needed, improving startup performance and reducing optional dependencies. Co-authored-by: amirbiron <amirbiron@gmail.com> * Fix: Handle asyncio.CancelledError in _async_sleep_with_backoff Co-authored-by: amirbiron <amirbiron@gmail.com> * Fix GitHub Actions validation errors from emojis in commit status contexts (#1347) * Initial plan * Fix: Remove emojis from GitHub status context fields Co-authored-by: amirbiron <215461772+amirbiron@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: amirbiron <215461772+amirbiron@users.noreply.github.com> * Refactor: Remove emoji from CI test names This change removes the '🧪' emoji from CI test names in documentation and workflow files. Co-authored-by: amirbiron <amirbiron@gmail.com> * Refactor: Mock aiohttp session and response for testing Co-authored-by: amirbiron <amirbiron@gmail.com> * Correct push event formatting in ci.yml Fix formatting of push event in CI/CD workflow. * Fix: Remove unused webhook trigger from test Co-authored-by: amirbiron <amirbiron@gmail.com> * Refactor: Simplify aiohttp session testing Remove unused imports and dummy classes. Improve test clarity by directly testing session creation. Co-authored-by: amirbiron <amirbiron@gmail.com> * Test: Skip GitHub API calls in status command tests Co-authored-by: amirbiron <amirbiron@gmail.com> * Test: Speed up retries by disabling backoff sleep Co-authored-by: amirbiron <amirbiron@gmail.com> * Test: Disable retries backoff and jitter for predictable tests Co-authored-by: amirbiron <amirbiron@gmail.com> * Refactor: Adjust GitHub API rate limit delays and test settings Co-authored-by: amirbiron <amirbiron@gmail.com> * Test: Add max_attempts to retry tests Co-authored-by: amirbiron <amirbiron@gmail.com> * Test: Disable sleep in retry tests Co-authored-by: amirbiron <amirbiron@gmail.com> * Add pytest-timeout to prevent CI hangs Co-authored-by: amirbiron <amirbiron@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: amirbiron <215461772+amirbiron@users.noreply.github.com>
GitHub's commit status API rejects emojis in the
contextfield, causingRequestError [HttpError]: Validation Failedthat blocks CI/CD pipeline execution.Changes:
contextfields ingithub-scriptstatus reporting steps🔍 Code Quality & Security→Code Quality & Security🧪 Unit Tests (${ver})→Unit Tests (${ver})Before:
After:
Reduces workflow file by 154 lines while fixing the validation errors.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Note
Replaces emoji status contexts with ASCII and consolidates duplicate status-report steps in the CI workflow.
.github/workflows/ci.yml):Code Quality & Securityfor pending/success/cancelled.Code QualitytoCode Quality & Security.Unit Tests (${ver})for pending/success/failure/cancelled.Written by Cursor Bugbot for commit 2784edb. This will update automatically on new commits. Configure here.